PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics.text Package / PDFTextEngine Class / getStringInBox Method / getStringInBox(String,PDFFont,PDFStringLayoutOptions) Method
String to wrap in the box.
Font used to draw the string.
Layout options that affect the string
In This Topic
    getStringInBox(String,PDFFont,PDFStringLayoutOptions) Method
    In This Topic
    Gets the string that fits in the given box.
    Syntax
    public static java.lang.String getStringInBox( 
       java.lang.String s,
       PDFFont font,
       PDFStringLayoutOptions slo
    )

    Parameters

    s
    String to wrap in the box.
    font
    Font used to draw the string.
    slo
    Layout options that affect the string

    Return Value

    The string that fit in the given box.
    See Also